.product-detail {
    height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #f5f5f5;
    overflow: hidden;
}

.detail-header {
    height: 50px;
    background-color: #b50e03;
    color: #fff;
    flex: none;
}
.detail-content {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.product-image {
    width: 100%;
    height: 200px;
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-info,
.product-specs-selector {
    padding: 10px;
}
.spces-list {
    --font-size: 14px;
    --padding-left: 0px;
    --padding-right: 0px;
}
.detail-footer {
    background-color: #fff;
    display: flex;
    height: 50px;
    flex: none;
    padding: 0 10px;
    justify-content: space-evenly;
    align-items: center;
}
.detail-footer .footer-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    gap: 4px;
}
.specs-popup {
    padding: 20px;
    max-height: 70vh;
    overflow-y: auto;
}
.spec-popup-header {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}
.spec-popup-header img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
}
.spec-popup-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}
.spec-popup-info .spec-popup-name {
    font-size: 16px;
    font-weight: bold;
}
.spec-popup-info .spec-popup-price {
    font-size: 14px;
    color: #b50e03;
}

.spec-popup-content {
    margin-top: 20px;
}
.spec-group .spec-group-title {
    font-size: 14px;
    font-weight: bold;
    margin: 10px 0;
}
.spec-group .spec-group-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.spec-option {
    padding: 6px 10px;
    font-size: 12px;
    border-radius: 5px;
    background-color: #ddd;
}

.spec-option.active {
    background-color: #ffa500;
    color: #fff;
}
.spec-popup-content .spec-quantity {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
}
.spec-popup-content .spec-quantity-label {
    font-size: 14px;
    font-weight: bold;
}

.spec-popup-content .spec-quantity-stepper {
    width: 120px;
    --input-font-size: 12px;
}

.spec-popup-footer {
    margin-top: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spec-popup-footer .add-button {
    --border-radius: 20px 0px 0px 20px;
}

.spec-popup-footer .buy-button {
    --border-radius: 0px 20px 20px 0px;
}
